import Vue from 'vue'
import App from './App.vue'
import router from './router'

import '@/assets/css/iconfont/iconfont.css'
import '@/assets/css/iconfont/iconfont.js'

import BcUI from './components/index'
Vue.use(BcUI)

// 把toast挂到全局
// import Toast from './components/toast/index'
// Vue.prototype.$toast = Toast //挂载到vue原型上

// let aaa = Toast()
// console.log(aaa)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
